package com.jikedaquan.game.jwt.controller;


import com.jikedaquan.game.jwt.entity.Message;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;

/**
 * <p>
 * 消息记录 前端控制器
 * </p>
 *
 * @author jiake
 * @since 2019-10-31
 */
@Controller
@RequestMapping("/message")
public class MessageController {

    /**
     * 消息发送统一请求地址
     * @param model
     * @param message
     * @return
     */
    @PostMapping(path = {"/send","/send.html"})
    public String send(Model model, Message message){
        //根据消息类型转到不同的前端页面
        //TODO 实现
        return "";
    }
}

